22 Lecture
CS504
Midterm & Final Term Short Notes
Software and System Architecture
Software and system architecture refers to the high-level design and organization of a software application or entire system. It involves defining components, their interactions, and the overall structure to meet specific requirements, ensuring
Important Mcq's
Midterm & Finalterm Prepration
Past papers included
Download PDF
Q: What does software architecture refer to? a) The programming languages used in software development. b) The high-level design and organization of a software application. c) The hardware components of a computer system. d) The process of software testing and debugging. Solution: b) The high-level design and organization of a software application. Q: What is the primary goal of software architecture? a) Maximizing the number of features in the software. b) Minimizing the development cost of the software. c) Ensuring scalability, maintainability, and reliability of the software. d) Reducing the size of the software codebase. Solution: c) Ensuring scalability, maintainability, and reliability of the software. Q: Which type of architecture is characterized by dividing the system into smaller, independent components? a) Monolithic architecture b) Microservices architecture c) Client-server architecture d) Peer-to-peer architecture Solution: b) Microservices architecture Q: In a client-server architecture, which component requests services from the server? a) Server b) Client c) Database d) Router Solution: b) Client Q: Which architecture style involves a single, self-contained application? a) Microservices architecture b) Monolithic architecture c) Distributed architecture d) Component-based architecture Solution: b) Monolithic architecture Q: What is the main advantage of using a microservices architecture? a) Reduced development complexity b) Centralized control over all components c) Easier communication between components d) Better scalability and flexibility Solution: d) Better scalability and flexibility Q: What does system architecture refer to? a) The high-level design of a single software application. b) The arrangement of hardware components in a computer system. c) The interaction between different software applications. d) The high-level design and organization of an entire system. Solution: d) The high-level design and organization of an entire system. Q: Which architecture style involves breaking down a system into reusable and interchangeable components? a) Component-based architecture b) Client-server architecture c) Peer-to-peer architecture d) Distributed architecture Solution: a) Component-based architecture Q: What is the purpose of system architecture? a) Optimizing software code for faster execution. b) Ensuring effective communication between hardware components. c) Defining the interactions and structure of the entire system. d) Providing user interface design for software applications. Solution: c) Defining the interactions and structure of the entire system. Q: Which architectural pattern ensures that each component performs a specific function and can be replaced without affecting the entire system? a) Component-based architecture b) Client-server architecture c) Monolithic architecture d) Distributed architecture Solution: a) Component-based architecture
Subjective Short Notes
Midterm & Finalterm Prepration
Past papers included
Download PDF
Q: What is software architecture? A: Software architecture refers to the high-level design and organization of a software application, defining its components and interactions. Q: What are the key goals of software architecture? A: The primary goals of software architecture are scalability, maintainability, reliability, and performance. Q: What is microservices architecture? A: Microservices architecture is an architectural style where a system is divided into smaller, independent services, each running in its own process. Q: How does microservices architecture differ from monolithic architecture? A: Monolithic architecture involves a single, self-contained application, while microservices architecture breaks the system into independent services. Q: What are the advantages of using microservices architecture? A: Advantages include better scalability, flexibility, easier maintenance, and the ability to deploy and update individual services independently. Q: Define system architecture. A: System architecture refers to the high-level design and organization of an entire system, including hardware and software components. Q: What is the role of system architecture in a project? A: System architecture defines the structure and interactions of all components, ensuring seamless integration and meeting project requirements. Q: What is component-based architecture? A: Component-based architecture involves breaking down a system into reusable and interchangeable components, promoting modularity and reusability. Q: How does component-based architecture facilitate software development? A: Component-based architecture allows developers to focus on individual components, leading to faster development and easier maintenance. Q: What are the key considerations in designing a system architecture? A: Key considerations include scalability, performance, security, modularity, and the ability to accommodate future changes and enhancements.